package cn.wh.beans.factory.config;

import cn.wh.beans.factory.HierarchicalBeanFactory;

/**
 * @author: wh
 * @create: 2022-08-31 09:31
 * @description
 **/
public interface ConfigurableBeanFactory extends HierarchicalBeanFactory,SingletonBeanRegistry {

    String SCOPE_SINGLETON = "singleton";

    String SCOPE_PROTOTYPE = "prototype";


    void addBeanPostProcessor(BeanPostProcessor beanPostProcessor);

    /**
     * 销毁单例对象
     */
   void destroySingletons();


}
